﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;


namespace SqlSugarCoreDemo.DBSqlSugar
{
    /// <summary>
    /// 管理员角色权限表
    /// </summary>
    [SugarTable("SysManagerRoleMenu", TableDescription = "管理员角色权限表")]
    public partial class SysManagerRoleMenu
    {
        /// <summary>
        /// 角色权限关联ID
        /// </summary>
        [Display(Name = "角色权限关联ID")]
        [SugarColumn(ColumnDescription = "角色权限关联ID", IsPrimaryKey = true, IsIdentity = true)]
        public int id { get; set; }
        /// <summary>
        /// 管理员角色ID
        /// </summary>
        [Display(Name = "角色ID")]
        [SugarColumn(ColumnDescription = "角色ID")]
        public int managerRoleId { get; set; }
        /// <summary>
        /// 菜单ID
        /// </summary>
        [Display(Name = "菜单ID")]
        [SugarColumn(ColumnDescription = "菜单ID")]
        public int menuId { get; set; }
        /// <summary>
        /// 菜单路由ID
        /// </summary>
        [Display(Name = "菜单路由ID")]
        [SugarColumn(ColumnDescription = "菜单路由ID")]
        public int menuRouteId { get; set; }
        /// <summary>
        /// 添加时间
        /// </summary>
        [Display(Name = "添加时间")]
        [SugarColumn(ColumnDescription = "添加时间")]
        public DateTime? addTime { get; set; }
    }
}
